home *** CD-ROM | disk | FTP | other *** search
/ The Word 11 / The Word 11 (Disk 1 of 2).adf / Files / 02-Bootable_Disk.txt / 02-Bootable_Disk.txt
Encoding:
Text File  |  1996-08-01  |  4.8 KB  |  149 lines

  1.  
  2. $DE1|1-Making An Autobooting Disk
  3.  
  4.  
  5.  
  6.                       By Sorcerer Of WILDFIRE
  7.  
  8.  
  9.  
  10.  I know nearly everyone reading this mag must know how to make a 
  11. autobooting disk however they may just be that one person who doesn't.
  12.  
  13. Autobooting Workbench :-
  14.  
  15. To make a disk that boots up to Workbench follow these steps :-
  16.  
  17. 1. Format a disk. If you can't do this then i'm not going to tell you
  18.    how!.
  19.  
  20. 2. Depending on whether you used a proper disk formatter ie. X-Copy or
  21. D-Copy you should format the disk with the bootable option however if 
  22. formatted through Workbench the chances are that the disk will not be 
  23. bootable. To check reset the computer and put your formatted disk in 
  24. the drive and wait. If the screen flashes back to the put-a-disk-in 
  25. screen then the disk is not bootable but if it boots to a DOS prompt
  26. ie.
  27.  
  28.      1>
  29.  
  30. Then the disk is bootable. The DOS prompt appears because the disk 
  31. hasn't actually been told to do anything so it comes up with th 
  32. requester.
  33.  
  34. Anyway if your disk wasn't bootable, then load up Workbench and open 
  35. a shell window. The next step is to type excluding quotations :-
  36.  
  37. "Install <Volume>"
  38.  
  39. Where volume is the name of your disk and no you don't need to include
  40. the open and close brackets around it so for example :-
  41.  
  42. Install Empty
  43.  
  44. If this doesn't work well then you probably are doing something very 
  45. wrong. If you've got two drives then just place the disk to be 
  46. installed in DF1: and type install df1:
  47.  
  48. 3. The next step is to create some directorys on the disk. Depending 
  49. on whether you want the directories to be invisible until show all 
  50. files is selected or whether you want directories that show straight 
  51. up. The directories that you will need are C and S so type in shell:-
  52.  
  53. (Invisible directories)
  54.  
  55. Makedir <Volume>:C
  56. Makedir <Volume>:S
  57.  
  58. (Visible directories)
  59.  
  60. Use the pull down menus and make a directory called S and C.
  61.  
  62. 4. Right now were getting somewhere. What the disk needs now is a 
  63. startup-sequence. This has to be a plain ASCII text file to be placed 
  64. in the S directory as this is the directory that the computer searches
  65. upon entering the disk. To do this open a shell window and type :-
  66.  
  67. Ed <Volume>:s/startup-sequence
  68.  
  69. where volume is you guessed it the name of your disk.
  70. Once Ed has loaded if you want a message to appear upon loading your 
  71. disk you will need to use the echo command. If you don't want any text
  72. to show than ignore the line with echo on. Type :-
  73.  
  74. ;Anything place by a semi-colon will be ignored (ideal for reference)
  75. Echo "Loading Message of your choice can go here"
  76. LoadWB
  77. Endcli >NIL:
  78.  
  79. The message may flash a bit to fast so adding the wait command will 
  80. help, which if used add it after the echo statement and type :-
  81. (You will need to copy wait from your Workbench disk to your new boot 
  82. disk C directory)
  83.  
  84. Wait 1
  85.  
  86. The above number is the shortest waiting time and therefore you can 
  87. experiment with different numbers.
  88.  
  89. Now go to the menu and click on SAVE. Not SAVE AS.
  90.  
  91. 5. Right that should be all ready except you need to copy the loadWB 
  92. command to the C directory of your disk for anything to happen. To do 
  93. this type in shell again :-
  94.  
  95. Copy sys:c/loadWB <YourVolume>:c
  96.  
  97. the statement must have :c after it to tell the computer to copy to 
  98. the c directory.
  99.  
  100. Right thats it. Reset the computer, the computer should first find 
  101. that the disk is bootable and therefore look in the S directory for 
  102. a startup-sequence once it finds this it will starting from the top 
  103. execute each line. (The Echo and Endcli commands do not need 
  104. to be copied to the disk as they are part of the A1200 disk operating 
  105. system anyway).
  106.  
  107. Now you Know how to do this there is no end to startup-sequences, 
  108. all you need to do for example to make a disk bootup to a slideshow 
  109. is :-
  110.  
  111. First of all make sure the following commands are in the C: 
  112. directory of your disk : PPSHOW, MAKEDIR, ASSIGN.
  113.  
  114. You will this time also need an Libs directory so do this in the way 
  115. as stated earlier(makedir <VOLUME>:Libs) and copy the 
  116. POWERPACKER.LIBRARY to it off of one of your disks.
  117. Make sure you have your IFF pictures straight on the disk and not 
  118. in a directory. 
  119.  
  120.  
  121. The Startup-Sequence could read:- 
  122.  
  123. ;Sorcerers Startup
  124. echo "Loading Please Wait . . ."
  125. Makedir RAM:ENV RAM:T
  126. Assign T: RAM:T
  127. Assign ENV: RAM:ENV
  128. PPshow <YOURPICNAME> 
  129. PPshow (this can be repeated for how many pictures you've got)
  130.  
  131. Or you could use a WILDCARD and type instead of tons of lines saying 
  132. PPShow if your pictures all have for example the extension .iff 
  133. Add this line to the startup-sequence instead of the PPshow ones 
  134. above.
  135. PPShow #?.iff TIME 10 
  136. Where "Time 10" means that you want each picture to appear on the 
  137. screen for ten seconds.
  138.  
  139. If this doesn't work you probably need to copy more files to the c and
  140. libs directorys of the disk.
  141.  
  142. This should work but I can't be bothered to test it. Ive told you how 
  143. to make a bootable disk that loads up a Workbench screen so that'll do
  144. from me.
  145.  
  146. Sorcerer Of WILDFIRE
  147.  
  148. end
  149.